<?

class Tag_Literalnav{
	static $XSL='';
}

Tag_Literalnav::$XSL = <<<EOD
<xsl:variable name="delimiter" select="'|'"/>
<xsl:template match="i:literal-nav">
	<div class="thirdclass-nav">
	<xsl:for-each select="i:literal-nav-item">
			<a href="{@url}">
			<xsl:if test="@selected='true'">
				<xsl:attribute name="class">
					 <xsl:value-of select="'textnav-current'" />
				</xsl:attribute>
			</xsl:if>
			<xsl:value-of select="@label"/>
			</a>
			<xsl:if test="position()&lt;count(//i:literal-nav-item)">
				<span class="spacing-line">
				<xsl:choose>
					<xsl:when test="not(/i:literal-nav/@delimiter)">
					<xsl:value-of select="\$delimiter"/>
					</xsl:when>
					<xsl:otherwise>
					<xsl:value-of select="/i:literal-nav/@delimiter"/>
					</xsl:otherwise>
				</xsl:choose>
				</span>
			</xsl:if>
	</xsl:for-each>
	</div>
</xsl:template>
EOD;
